/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Modelo;

/**
 *
 * @author Celeron
 */
public class Socio 
{
  private static Socio instanciaSocio=null;
  
  private String Cedula;
  private String Nombre;
  private String Cargo; 
  private String CodCoop;
  
   public void Socio(String Cedula, 
                    String Nombre, 
                    String Cargo, 
                    String codCoopera) 
    {
        this.Cedula = Cedula;
        this.Nombre = Nombre;
        this.Cargo = Cargo;
        this.CodCoop=codCoopera;
    }
   //----------------------------------
   public static Socio getIntance()
   {
     if (instanciaSocio==null)  
       instanciaSocio=new Socio();
     
     return instanciaSocio;
   }           
   //-------------------------------------
    private Socio() 
    {
        this.Cedula = "";
        this.Nombre = "";
        this.Cargo = "";
        this.CodCoop="";
    }
  //------------------------------

    public String getCedula() {
        return Cedula;
    }

    public String getNombre() {
        return Nombre;
    }

    public String getCargo() {
        return Cargo;
    }

    public void setCedula(String Cedula) {
        this.Cedula = Cedula;
    }

    public void setNombre(String Nombre) {
        this.Nombre = Nombre;
    }

    public void setCargo(String Cargo) {
        this.Cargo = Cargo;
    }

    public String getCodCoop() {
        return CodCoop;
    }

    public void setCodCoop(String CodCoop) {
        this.CodCoop = CodCoop;
    }
  
}
